package com.lifeng.exception;

import com.alibaba.csp.sentinel.slots.block.BlockException;

/**
 * Created by lifeng on 2019/6/14.
 */
public class ExceptionHandler {
    public static String handleException(BlockException ex){
        ex.printStackTrace();
        return "被限流了,请稍后再试";
    }
}
